﻿using Azylee.Core.IOUtils.DirUtils;
using JustMetClient.Forms.View;
using System.Reflection;

namespace JMBox.Config
{
    public static partial class R
    {
        public class Contact
        {
            //应用名称
            public static string AppName = "JMBOX";
            //主界面实例
            public static MainForm? MainUI;
            //悬浮窗实例
            public static TopForm? TopUI;
            //悬浮窗LABEL
            public static Label? TopUILabel;
            //Hook相关
            public static Module Module = Assembly.GetExecutingAssembly().GetModules()[0];
            //当前程序根路径,exe所在文件夹
            public static string AppPath = AppDomain.CurrentDomain.BaseDirectory;
            //配置文件路径
            public static string Settings = DirTool.Combine(AppPath, "ApplicationRunDatas.ini");
            //截屏文件夹路径
            public static string ScreenImgDirPath = DirTool.Combine(AppPath, @"img\screen\");
            //匹配图片路径
            public static string MatchImgDirPath = DirTool.Combine(AppPath, @"img\match\");
            //ML路径
            public static string MolongImgDirPath = DirTool.Combine(AppPath, @"img\molong\");
            //截屏文件路径
            public static string ScreenImgPath = DirTool.Combine(ScreenImgDirPath, "screen.jpg");
            //DD驱动路径
            public static string DDriverPath = DirTool.Combine(AppPath, "dd32695.x64.dll");
            //salt
            public static string SALT_PASSWORD = "WMG000WMG111WMG222WMG";
        }
    }
}
